package com.iflytek.universitymanagement.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author louyp
 * @since 2024-11-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("course_test_question")
@ApiModel(value="CourseTestQuestion对象", description="")
public class CourseTestQuestion implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "test_question_id", type = IdType.AUTO)
    private Integer testQuestionId;

    private Integer teacherId;

    private Integer courseId;

    private String questionText;

    private String questionType;

    private BigDecimal score;


    public Integer getTestQuestionId() {
        return testQuestionId;
    }

    public void setTestQuestionId(Integer testQuestionId) {
        this.testQuestionId = testQuestionId;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public String getQuestionText() {
        return questionText;
    }

    public void setQuestionText(String questionText) {
        this.questionText = questionText;
    }

    public String getQuestionType() {
        return questionType;
    }

    public void setQuestionType(String questionType) {
        this.questionType = questionType;
    }

    public BigDecimal getScore() {
        return score;
    }

    public void setScore(BigDecimal score) {
        this.score = score;
    }


    @Override
    public String toString() {
        return "CourseTestQuestion{" +
                "testQuestionId=" + testQuestionId +
                ", teacherId=" + teacherId +
                ", courseId=" + courseId +
                ", questionText='" + questionText + '\'' +
                ", questionType='" + questionType + '\'' +
                ", score=" + score +
                '}';
    }
}
